package com.wl.api.model.business;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 *
 * 订单修订
 *
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "customer_order_revise")
public class CustomerOrderRevise implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 追加费用子订单 */
	@TableId(value = "child_order_id", type = IdType.AUTO)
	private Long childOrderId;

	/** 主订单ID */
	@TableField(value = "order_id")
	private Long orderId;

	/** 金额 */
	private BigDecimal amount;

	/**  */
	private String remark;

	/** 0:待付款， 已付款 */
	private Integer status;

	/** 创建人 */
	@TableField(value = "create_user_id")
	private Long createUserId;

	/**  */
	@TableField(value = "create_user")
	private String createUser;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "udpate_user")
	private String udpateUser;

	/**  */
	@TableField(value = "update_user_id")
	private Long updateUserId;

}
